<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
	<meta charset="UTF-8">
	<title>文章内容</title>
	<link rel="stylesheet" th:href="@{/css/bootstrap.min.css}">
	</link>
</head>

<body>
	<div class="container">
		<h1>文章内容查看</h1>
		<form action="#" th:if="${article!=null}" th:object="${article}" method="POST">
			<input type="text" th:field="*{title}" replaceholder="标题" class="form-control mb-4 col-4" readonly/>
			<input type="text" th:field="*{articletype.type}" replaceholder="标题" class="form-control mb-4 col-4" readonly/>
			<textarea th:field="*{content}" rows="6" class="form-control mb-4 col-12" placeholder="文章内容" readonly/></textarea>
		</form>		
		<hr>

		<a th:href="@{/article/findAll}">返回文章类型列表</a>
	</div>
</body>

</html>